using HengTong.Model.Services;
using Microsoft.AspNetCore.Mvc;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Mvc;

namespace HengTong.Areas._Admin.Controllers;

public partial class SysDataPrivilegeController(CodeGeneratorService service) : BaseApiController
{
    [HttpGet("GetBillList")]
    [AllRights]
    public IActionResult GetBillList()
    {
        return Ok(service.GetDataPrivilegeClassesAsTreeSelectList());
    }
}